Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
IoeClientProcess Class Reference

IoeClientProcess handles and manipulates the IoE client process for IoE devices. More...

Inheritance diagram for IoeClientProcess:
Process

Public Member Functions

bool setupRemoteApi (QString)
 setup the API call in remote server, returns true if successful, false otherwise. More...
 
void reportStates (QString)
 send the state of the IoE client to server. More...
 
void inputReceived (QString)
 This event is emitted when data coming from IoE client. More...
 
void stateSet (string, QString)
 This event is emitted new state is set in the IoE client. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

IoeClientProcess handles and manipulates the IoE client process for IoE devices.

Member Function Documentation

◆ inputReceived()

void IoeClientProcess::inputReceived ( QString  )

This event is emitted when data coming from IoE client.

  • states, the string of the data get send to server.

IPC event.

◆ reportStates()

void IoeClientProcess::reportStates ( QString  )

send the state of the IoE client to server.

Parameters
states,thestate of the IoE client.

◆ setupRemoteApi()

bool IoeClientProcess::setupRemoteApi ( QString  )

setup the API call in remote server, returns true if successful, false otherwise.

Parameters
json,theAPI call to server in json format.
Returns
bool, true if successful, false otherwise.

◆ stateSet()

void IoeClientProcess::stateSet ( string  ,
QString   
)

This event is emitted new state is set in the IoE client.

  • stateName, the name of the state.
  • value, the value of the state.

IPC event.


The documentation for this class was generated from the following file: